const fn = () => {
  let param1 = 'wangjian';
  return () => {
    param1 += 'w';
    console.log(param1);
  };
};
const newFn = fn();
let index: number = 0;
while (index < 3) {
  newFn();
  index++;
}
